package codetop.microsoft.T105;

import util.ListUtil;
import util.TreeUtil;

/**
 * @Author: 18362
 * @Create: 2022-08-14 23:49:35 星期日
 */
public class M105 {
    public static void main(String[] args) {
        int[] preorder = ListUtil.parseIntArray("[3,9,20,15,7]");
        int[] inorder = ListUtil.parseIntArray("[9,3,15,20,7]");
        TreeUtil.printLevel(new Solution().buildTree(preorder, inorder));
    }
}
